package own.stu.jobgib.playown.juc.activeObject.request;

import own.stu.jobgib.playown.juc.activeObject.result.FutureResult;
import own.stu.jobgib.playown.juc.activeObject.service.Servant;

public abstract class MethodRequest<T> {

    protected final Servant servant;
    protected final FutureResult<T> result;

    public MethodRequest(Servant servant, FutureResult<T> result) {
        this.servant = servant;
        this.result = result;
    }

    public abstract void execute();
}
